package org.springblade.modules.repair.vo.statistics.by;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @Date 11:41 2022/11/29
 * @Description {
 *    保养统计页面工作时长详情
 * }
 * @Author lsay
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class CheckStatisticsWorkTimeCountVO extends CheckStatisticsWorkTimeDetailVO {

	/**
	 * 表格首列 组名或人名
	 */
	private String label;

	/**
	 * 作业人数
	 */
	private Long workPeo;

	/**
	 * 人均每日作业时长（时）
	 */
	private BigDecimal dayWorkTimePeoAve;

	/**
	 * 人均作业天数
	 */
	private BigDecimal dayWorkPeoAve;

	/**
	 * 作业天数
	 */
	private Long dayWork;

	/**
	 * 日均作业时长（时）
	 */
	private BigDecimal dayWorkTimeAve;

	public CheckStatisticsWorkTimeCountVO() {
	}

	public CheckStatisticsWorkTimeCountVO(String label) {
		this.label = label;
		this.workPeo = 0L;
		this.dayWorkTimePeoAve = BigDecimal.valueOf(0.0);
		this.dayWorkPeoAve = BigDecimal.valueOf(0.0);
		this.dayWork = 0L;
		this.dayWorkTimeAve = BigDecimal.valueOf(0.0);
		this.setWorkTimeHour(BigDecimal.valueOf(0.0));
		this.setWorkTimeMinAve(BigDecimal.valueOf(0.0));
	}
}
